﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class giohang_Default : System.Web.UI.Page
{

  
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
          
        
        }
      
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        txtgiasp.Text = "";
        txtmsp.Text = "";
        txtgiasp.Text = "";
        txtgiasp.Visible = false;
        txtmsp.Visible = false;
        txtnamesp.Visible = false;
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        
        string[] sessionarry = { txtmsp.Text, txtnamesp.Text, txtgiasp.Text };
        Session["my_sess"] = sessionarry;
        string[] get_Session_Item = (string[])Session["my_sess"];

        for (int i = 0; i < get_Session_Item.Length; i++)
        {
            Response.Write(get_Session_Item[i] + " ");
        }
    }
}